how to combine views from different modules.

Hi

I'm not sure if this is the right place to post this , but I really need the answer.
I'm using DOORS 8.1 , and I want to combine two different views from two different modules into one document. first of all is that possible ? if yes then how ?

Thanks
ymm777 - Tue Oct 26 02:02:44 EDT 2010

Re: how to combine views from different modules.
evandy - Tue Oct 26 11:32:14 EDT 2010

Could you give us some more information?

Do you want the two documents sequentially or side-by-side? If side-by-side, how are you correlating the two documents? Do you have links? Do you just want to put each row side-by-side? Anything else we need to know about what you want?

The easy answer is to export both documents to Excel workbooks, and just paste them side-by-side. The more complicated answers involve creating DXL scripts to do what you want.

Re: how to combine views from different modules.
ymm777 - Wed Oct 27 04:07:02 EDT 2010

evandy - Tue Oct 26 11:32:14 EDT 2010
Could you give us some more information?

Do you want the two documents sequentially or side-by-side? If side-by-side, how are you correlating the two documents? Do you have links? Do you just want to put each row side-by-side? Anything else we need to know about what you want?

The easy answer is to export both documents to Excel workbooks, and just paste them side-by-side. The more complicated answers involve creating DXL scripts to do what you want.

sorry If i didn't give enough info .

well I would like them to be sequentially , for example first module 'a' appears with one of it's views that i previosly created , after it ( within the same new module of course ) module 'b' with one of the views I have already made for it.

the thing is I'm not sure how will DOORS do this as both modules have different coloumns.
yes both modules contain links to a third module.

The point is I want the newly combined document to be a module in DOORS , that's why the excel soulotion you mentioned won't work for me.

I don't want to complicate it more than it is , just tell me please what are my options, even if the documents are side by side not sequentially.

Thanks for your help , appreciate it.

Re: how to combine views from different modules.
evandy - Wed Oct 27 08:34:28 EDT 2010

ymm777 - Wed Oct 27 04:07:02 EDT 2010
sorry If i didn't give enough info .

well I would like them to be sequentially , for example first module 'a' appears with one of it's views that i previosly created , after it ( within the same new module of course ) module 'b' with one of the views I have already made for it.

the thing is I'm not sure how will DOORS do this as both modules have different coloumns.
yes both modules contain links to a third module.

The point is I want the newly combined document to be a module in DOORS , that's why the excel soulotion you mentioned won't work for me.

I don't want to complicate it more than it is , just tell me please what are my options, even if the documents are side by side not sequentially.

Thanks for your help , appreciate it.

I'm going to start with a little background, which will help me give my answer:

You need to understand that a DOORS module is not actually a document, but rather a table in a database. Each Object with a DOORS ID is a record in that database table. A view, then, is a view of a subset of your table. And a document is a report generated from that table (e.g. an excel spreadsheet, RTF file, etc.) And a linkset is a table which contains records cross-referencing two different DOORS databases.

So, do you want to merge two modules into a single Document (document in word, excel, etc.), or actually create a new module containing data from both of your source modules? The common document is simple: export both modules, and then just paste the contents together.

If you want to combine two DOORS modules into a single new module, you need to make sure that the schema of each table (set of attributes) that you which to retain in the new module are present in both of the original documents. You state that your two views "have different columns." Each column is either an attribute (field in the table), or a DXL script which generates its contents based on one or more fields in your table. This suggests that your two databases aren't (currently) compatible.

So, in vague outline, what you need to do is:
1) Make sure both databases contain the minimum set of attributes you want to include in your merge
2) Create a new module and define the custom attributes you wish to retain
3) Using DOORS, Copy the contents of the first source module into your new module
4) Using DOORS, Copy the contents of the second source module into your new module

You will:
Loose any links that are in your source documents
Change the DOORS unique-ID on each object

I hope that this long-winded reply makes some amount of sense.